﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: SigninLogEntity.cs
// 修改时间：2020-9-8 10:40:09
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：SigninLog 的实体类.
	/// </summary>
	[Table("SigninLog")]
	public partial class SigninLogEntity
	{
		#region Properties
		private int? _generalID = 0;
		/// <summary>
		/// 内容ID(主键)
		/// </summary>
		[Column("GeneralID",TypeName="int")]
		[Key]
		public int? GeneralID
		{
			get {return _generalID;}
			set {_generalID = value;}
		}
		
		private System.String _userName = string.Empty;
		/// <summary>
		/// 签收用户(主键)
		/// </summary>
		[Column("UserName",TypeName="nvarchar(255)")]
		[Key]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String UserName
		{
			get {return _userName;}
			set {_userName = value;}
		}
		
		private System.Boolean _isSignin = false;
		/// <summary>
		/// 是否签收
		/// </summary>
		[Column("IsSignin",TypeName="bit")]
		public System.Boolean IsSignin
		{
			get {return _isSignin;}
			set {_isSignin = value;}
		}
		
		private DateTime? _signinTime = null;
		/// <summary>
		/// 签收时间
		/// </summary>
		[Column("SigninTime",TypeName="datetime")]
		public DateTime? SigninTime
		{
			get {return _signinTime;}
			set {_signinTime = value;}
		}
		
		private System.String _ip = string.Empty;
		/// <summary>
		/// 签收IP
		/// </summary>
		[Column("IP",TypeName="nvarchar(255)")]
		[DisplayFormat(ConvertEmptyStringToNull = false)]
		public System.String IP
		{
			get {return _ip;}
			set {_ip = value;}
		}
		
		#endregion
	}
}
